#ifndef _OBJECT_TYPE_UTILS_H_
#define _OBJECT_TYPE_UTILS_H_

#include "ObjectType.h"
#include <string>
#include "..\Exceptions\InvalidObjectTypeException.h"
#include <cctype>

class ObjectTypeUtils{

public: 

	static bool isSquare(ObjectType &obj);

	static bool isRectangle(ObjectType &obj);

	static bool isTexture(ObjectType &obj);

	static bool isSegment(ObjectType &obj);

	static bool isCircle(ObjectType &obj);

	static bool isFigure(ObjectType &obj);

	static bool isGeneralTag(ObjectType &obj);

	static ObjectType getObjectTypeByString(std::string type)throw (InvalidObjectTypeException);
};

#endif
